-- GENERATED SPELL FOR [Mo'arg Master Planner] --


function spell0_18567(pUnit, Event) --@Magnetic Pull,n/a--
pUnit:FullCastSpellOnTarget(31705,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18567', 500, 1)
end

function Sorts_18567(pUnit, Event)
local choix_sorts_18567 = math.random(0, 0)
if choix_sorts_18567 == 0 then
pUnit:RegisterEvent('spell0_18567', 1, 1)
end
end

function mob18567_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18567', math.random(1500, 3000), 1)
end

function mob18567_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18567_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18567_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18567, 1, 'mob18567_Action')
RegisterUnitEvent(18567, 2, 'mob18567_Leave')
RegisterUnitEvent(18567, 3, 'mob18567_Kill')
RegisterUnitEvent(18567, 4, 'mob18567_Die')
